<template>
	<view class="article_detail">
		<articleDetailsVue :data="store.activityDetail[0]"/>
	</view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app';
import articleDetailsVue from '../../components/articleDetails.vue';
import { useHomeStore } from '../../stores/homeStore.js';
const store = useHomeStore();
onLoad((options) => {
	store.getDetail({ id: options.id });
});
</script>

<style lang="scss">
.article_detail {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 0 30rpx;
	background-color: #fff;
	overflow: auto;
}
</style>
